import { MathArray, Matrix, number } from 'mathjs';

export default function from_str(val: string) {
	return number(val) as number | MathArray | Matrix;
}
